export default class PropsController {
  _currentControl = null;
  constructor() {

  }
  setCurrentControl(widget) {
    this._currentControl = widget;
  }
  getCurrentControlProps() {
    if(!this._currentControl) return
    return this._currentControl.getWidgetProps()
  }
  getCurrentControlWidgetPropDescribe() {
    if(!this._currentControl) return
    return this._currentControl.getWidgetPropDescribe()
  }
}